Repository navigation
Split Sage and Wallet SDK docs into separate sidebars - #8
Merged
Merged
Conversation
Rigidity
force-pushed
the
rigidity/split-sage-sdk-sidebars
branch
from
November 9, 2026 02:50
d1975b8 to
56a47a6
Compare
Rigidity
force-pushed
the
rigidity/split-sage-sdk-sidebars
branch
from
November 9, 2026 03:05
3e7b067 to
86ef872
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sage and the Wallet SDK serve different readers (people running or integrating with Sage vs. Rust developers building their own apps), and the generated RPC reference was pushing the SDK pages far down a single shared sidebar.
Changes
sidebars.ts: replace the singlesidebarwithsage(Getting Started, Files, Config, RPC) andsdk(the Wallet SDK tree, now top-level instead of nested in a category).docs/sage/and are served under/sage/, matching/sdk/. Generated RPC pages now go todocs/sage/rpc/.URL changes
/getting-started/sage/getting-started/files/sage/files/config/sage/config/rpc/setup/sage/rpc/setup/rpc/<endpoint>/sage/rpc/<endpoint>@docusaurus/plugin-client-redirectsredirects every old URL to its new/sage/location, and/sageredirects to Getting Started. Wallet SDK URLs are unchanged, and search still covers both sections.Other fixes
slice(1)and showed no sidebar.docs/rpc/stays in.gitignoreand.prettierignoreand is excluded from the docs plugin, so RPC pages generated locally before this change aren't built or formatted alongside the new ones.Testing
pnpm format:check,pnpm typecheck,pnpm buildpass (build usesonBrokenLinks: "throw")./sage,/getting-started,/config,/files,/rpc/setupand/rpc/send-xch, and that a staledocs/rpcpage is not built.